package com.briup.myblog.dao.ext;


import com.briup.myblog.bean.basic.Comment;
import com.briup.myblog.bean.ext.CommentExt;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public interface CommentExtMapper {

    //根据资讯id删除评论
    int deleteByArticleId(Integer article_id);

    //根据资讯id查找评论
    List<CommentExt> selectByArticleId(int articleId);
    //根据资讯id删除评论
    void checkComment(int id,int status);
    List<CommentExt>selectCommentByPageHelper(String keywords);
    List<CommentExt> findParentId(int id);
    void deleteCommentById(int id);
}

